package com.weareint.examples.controller;

import com.weareint.dto.HelloDTO;
import com.weareint.service.HelloService;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 *
 * <pre>
 *
 * </pre>
 *
 * @author johnny
 * @date 2021-07-20 6:39 下午
 */
@RestController
@RequestMapping("/hello")
public class HelloServiceOpenImpl implements HelloService {
  @Override
  public HelloDTO getHelloInfo() {
    return HelloDTO.builder().id(1L).name("johnny").build();
  }
}
